IO

class IO

Author

"Martin Krischik" «krischik@users.sourceforge.net»

Since

1.0

Constructors

Link copied to clipboard
private constructor()
Do not create

Properties

Link copied to clipboard
private val Buffer_Size: Int = 16384
Link copied to clipboard
private val TAG: String
Logging tag

Functions

Link copied to clipboard
protected open fun clone(): Any
Link copied to clipboard
open fun Copy_Dir(From_Directory: File, To_Directory: File)
copy all file from one dir to another directory
Link copied to clipboard
open fun Copy_Stream(In_Name: File, Out_Stream: OutputStream)
open fun Copy_Stream(In_Steam: InputStream, Out_Name: File)
open fun Copy_Stream(In_Steam: InputStream, Out_Stream: OutputStream)
copy content of one stream into another
Link copied to clipboard
open fun Delete_All(dir: File)
delete all files in a directory.
Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
protected open fun finalize()
Link copied to clipboard
fun getClass(): Class<out Any>
Link copied to clipboard
open fun Has_Foreground_Permission(Context: Context): Boolean
Check if we got Foreground permission
Link copied to clipboard
open fun Has_SD_Card_Permission(Context: Context): Boolean
Check if we got SD card permission
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun Is_Content_Path(Path: String): Boolean
true when path is a content path to be used with a document handler
Link copied to clipboard
fun notify()
Link copied to clipboard
fun notifyAll()
Link copied to clipboard
open fun Read_File(File: File): String
open fun Read_File(File_Name: String): String
read file into string
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun Un_Zip_Files(Dest_Dir: File, Source_File: File)
open fun Un_Zip_Files(Destination_Dir: File, Source_Stream: InputStream)
will extract all files from a zip into a directory.
Link copied to clipboard
fun wait()
Link copied to clipboard
open fun Write_To_File(data: String, file: File)
convenience method, write string to file
Link copied to clipboard
open fun Zip_Files(Destination_File: File, Source_Dir: File)
open fun Zip_Files(Destination_Stream: OutputStream, Source_Files: Array<File>)
zips all files inside a directory.